
package com.xbongbong.sys.domain.entity;

import com.xbongbong.paas.toolbox.util.DateUtil;
import com.xbongbong.paas.toolbox.wrap.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
* @author autoGen
* @time 2019-05-07 20:14:54
*/
@ToString
@Setter
@Getter
public class CoverRoleEntity extends Entity {

	private static final long serialVersionUID = 3025682777851431075L;

	/**
	* 自增id
	*/
	private Integer id;
	/**
	* 公司id
	*/
	private String corpid;
	/**
	* 系统角色id
	*/
	private Integer roleId;
	/**
	* 角色名
	*/
	private String roleName;
	/**
	* 权限集合
	*/
	private String permissions;
	/**
	* paas相关权限
	*/
	private String paasPermissions;
	/**
	 * 数据权限（表单级）
	 */
	private String dataPermissionDetail;
	/**
	 * 动态权限
	 */
	private String dynamicPermissions;
	/**
	* 新建时间
	*/
	private Integer addTime;
	/**
	* 更新时间
	*/
	private Integer updateTime;
	/**
	* 删除标记
	*/
	private Integer del;

	public CoverRoleEntity (){
		int now = DateUtil.getInt();
		this.addTime = now;
		this.updateTime = now;
		this.del = 0;
	}
}

